package com.xjgc.model.dto.eip;

import com.xjgc.model.entity.eip.ZxjEipXsdd;
import lombok.Data;

@Data
public class ZxjEipXsddDTO extends ZxjEipXsdd {
   private String xsdd;//字段总和

   private String aeskd;//项目监造，用于判断是否为国网项目

//   以下三个字段用于判断国网订单逻辑
  
   private String khmc;
   private String bstkd_e;

   public void setXsdd(){
      this.xsdd = this.getPurchaserHqCode()+this.getSoNo()+this.getSupplierCode()+this.getBuyerCode()
              +this.getBuyerProvince()+this.getSoRelType()+this.getCategoryCode()+this.getSubclassCode()
              +this.getSoStatus()+this.getDataSource()+this.getDataSourceCreateTime()+this.getIsDeleted()
              +this.getPurchaserHqCode()+this.getSupplierSoNo()+this.getSupplierSoRelType()
              +this.getProductCode()+this.getProductName()+this.getProductUnit()+this.getProductAmount()+this.getProductIdGrpNo()
              +this.getPlanDeliveryDate()+this.getPlanDeliveryPlace()+this.getPlanDeliveryPlaceDesc();
   }
}
